<template>
    <div style="margin:20px;padding:20px;background-color:#fff;">
        <h3>公司基本信息修改</h3>
        <el-form ref="form" :model="form" label-width="80px" size="small" label-position="left">
        <el-form-item label="用户姓名">
            <el-input v-model="form.company" style="width:200px;" placeholder="请输入管理员姓名"></el-input>
        </el-form-item>
        <el-form-item label="用户姓名">
            <el-input v-model="form.username" style="width:200px;" placeholder="请输入管理员姓名"></el-input>
        </el-form-item>
        <el-form-item label="手机号">
            <el-input v-model="form.phone" style="width:200px;" placeholder="请填写手机号"></el-input>
        </el-form-item>
        <el-form-item label="地址">
            
        </el-form-item>
        <el-form-item label="详细地址">
            <el-input v-model="form.department" style="width:200px;" placeholder="请填写详细地址"></el-input>
        </el-form-item>
        <el-form-item label="区域归属">
            
        </el-form-item>
        <el-form-item label="认证图片">
            <el-upload
            action=""
            list-type="picture-card"
            :on-preview="handlePictureCardPreview"
            :on-remove="handleRemove">
            <i class="el-icon-plus"></i>
            </el-upload>
        </el-form-item>
        <el-form-item label="注册资金">
            <el-input v-model="form.phone" style="width:200px;" placeholder="请填写注册资金"></el-input>
        </el-form-item>
        <el-form-item label="备注">
            <el-input v-model="form.phone" style="width:200px;" placeholder="请填写备注"></el-input>
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="onSubmit">修改</el-button>
            <el-button>取消</el-button>
        </el-form-item>
        </el-form>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                form: {
                    username: '',
                    phone: '',
                    department: '',
                    company: '',
                },
                isIndeterminate: false,
                checkAll:false,
                dialogImageUrl: '',
                dialogVisible: false
            }
        },
        methods: {
            onSubmit() {
                console.log('submit!');
            },
            handleRemove(file, fileList) {
                console.log(file, fileList);
            },
            handlePictureCardPreview(file) {
                this.dialogImageUrl = file.url;
                this.dialogVisible = true;
            },
            handleCheckAllChange(){

            },
        },
    }
</script>

<style scoped>

</style>